package com.ourteam.frame.web;

public interface ITreeNodeBuilder<ParentObject, ChildObject> {

	public ChildObject[] getTreeNodeObjects(ParentObject parentObject) throws Exception;

	public String getTag(ChildObject childObject) throws Exception;

	public Object getNodeId(ChildObject childObject) throws Exception;

	public boolean isLeaf(ChildObject childObject) throws Exception;

	public int getChildCount(ChildObject childObject) throws Exception;

	public String getNodeDefineId(ChildObject childObject) throws Exception;

	public ParentObject converToParentObject(Object parent) throws Exception;
}
